]> dgit.raspbian.org Git - gnome-shell.git/commit
Only add hot corner for primary and "top left" monitors
authorAlexander Larsson <alexl@redhat.com>
Fri, 18 Mar 2011 13:21:17 +0000 (14:21 +0100)
committerAlexander Larsson <alexl@redhat.com>
Mon, 21 Mar 2011 09:32:30 +0000 (10:32 +0100)
commit70ae7004613e67e8a5f6ac7e87c75dc7ed7ed70e
tree6505122ca8f2e4907250463fcd5abf879636fd78
parentb81ad3ed39484a94f2a753c8bc681a8d44ec63da
Only add hot corner for primary and "top left" monitors

To avoid having hot corners that accidentally trigger when e.g. trying
to hit the panel on the primary monitor we add hot corners only to
monitors that are "naturally" top left (top right for RTL).

For instance, we'd like a hot corner here:

corner -> +-------------
          |            |
+---------+            |
|=========|            |
|         |            |
|         |            |
|         |            |
+---------+------------+

But not here:

          unexpected hot corner
          ↓
+---------+-------+
|=========|       |
|         |       |
|         +-------+
+---------+

https://bugzilla.gnome.org/show_bug.cgi?id=645116
js/ui/main.js